package edu.taru.service;

import edu.taru.dao.UpdatePasswordDaoImpl;
import edu.taru.pojo.User;

public class AuthorityServices {
	public void updatePassword(User user,String newPassword,String oldPassword) {
		UpdatePasswordDaoImpl updatePasswordDaoImpl = new UpdatePasswordDaoImpl();
		updatePasswordDaoImpl.update(user, newPassword, oldPassword);
		
	}
	
	public User getLoginedUser() {
		
		return null;
	}
}
